import request from "./request.js";

export const findAll = () => {
    return request({
        url: "/api/list",
        method: "get",
    });
}

export const addUser = (user) => {
    return request({
        url: "/api/add",
        method: "post",
        data: user,
    });
}